const mongoose = require('../db');

const Schema = mongoose.Schema;

const user = new Schema({
    userid : { type: String },
    username: { type: String},
    password: {type: String},
    age: {type: Number},
    sex: {type: Number}
},{
    versionKey: false
})

module.exports = mongoose.model('User',user);